package com.sixth.dao;

import com.sixth.entity.Member;
import org.apache.ibatis.annotations.Select;

public interface MemberDao {
    int deleteByPrimaryKey(String id);

    int insert(Member record);

    int insertSelective(Member record);

    Member selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Member record);

    int updateByPrimaryKey(Member record);
    @Select("select COUNT(is_type) from tb_member where is_type=#{isType}")
    int value(Integer isType);
}